package com.vanzo.some;

import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.ActivityNotFoundException;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.os.Vibrator;
import android.provider.Settings;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.ImageView;
import android.widget.Toast;

import java.util.Arrays;
import java.util.List;

public class SomeActivity extends AppCompatActivity {
    public static final String ACTION_TEST = "com.titan.Test";

    private static final String TAG = "SomeActivity";
    private static final long delay = 10 * 1000;
    private static final long duration = 60 * 1000;

    private AlarmManager alarmManager;
    private PendingIntent pendingIntent;
    private long[] pattern = {500, 500, 500, 500, 500, 1500};

    private Vibrator vibrator;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        getWindow().getDecorView();
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_some);
        Log.d(TAG, android.os.Build.SERIAL);
        Log.d(TAG, Build.SERIAL);
    }

    private void test() {
        ImageView imageView = new ImageView(this);
        imageView.setBackgroundColor(Color.parseColor("#ff000000"));

    }
}